package com.wjh.yygh.user.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wjh.yygh.model.user.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wjh.yygh.vo.user.LoginVo;
import com.wjh.yygh.vo.user.UserAuthVo;
import com.wjh.yygh.vo.user.UserInfoQueryVo;

import java.util.Map;

/**
* @author wangjunhong
* @description 针对表【user_info(用户表)】的数据库操作Service
* @createDate 2022-08-09 09:46:14
*/
public interface UserInfoService extends IService<UserInfo> {

    Map<String, Object> loginInfo(LoginVo loginVo) ;

    void userAuth(Long userId, UserAuthVo userAuthVo);

    IPage<UserInfo> selectPage(Page<UserInfo> userInfoPage, UserInfoQueryVo userInfoQueryVo);

    boolean lock(Long id, Integer status);

    Map<String, Object> show(Long id);

    void approval(Long id, Integer authStatus);
}
